package io.jee.runshan.utils;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

public class WeixinUtils {

	public static String getOpenid(HttpServletRequest request) {
		return getOpenid(request.getSession());
	}

	public static String getOpenid(HttpSession session) {
		return (String) session.getAttribute("openid");
	}
}
